package com.hs.common

import kotlin.random.Random

/**
 * 用户初始化信息
 */
object UserInitInfo {

    const val userName : String = "admin"
    const val account: String = "admin"
    const val password: String = "888888"
    const val sysTemNo: String = "SYS_0001"
    // 初始化角色
    val roleMap = mapOf(
        "超级管理员" to "Administrator",
        "普通员工" to "Staff",
    )

    // 部门
    val deptMap = mapOf(
        "默认部门" to "admin",
    )


    fun generateRandomPositiveInt(): Int {
        val min = 1
        val max = 9999
        return Random.nextInt(min, max + 1)
    }

}